html,
body {
  height: 100%;
}
body {
  background: url(../images/q.jpg) no-repeat;
  background-size: cover;
}

.box {
  width: 310px;
  height: 290px;
  padding: 0 40px;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 15px;
}
.box h1 {
  text-align: center;
  color: #fff;
  line-height: 90px;
}
.box .btn {
  color: #ccc;
  margin-top: 20px;
  float: right;
}
/* 字体图标 */
.layui-form-item {
  position: relative;
}
.layui-icon {
  position: absolute;
  left: 6px;
  top: 11px;
}

.layui-input {
  padding-left: 24px;
}
/* 默认，让注册的盒子隐藏 */
.register {
  display: none;
}
